package com.yjd.job.model;

import com.yjd.comm.base.model.Model;

/**
 * job执行日志
 * 
 * @author ready
 * @date 2014-8-8
 */
public class JobLogModel extends Model {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public JobLogModel() {
	}

	public JobLogModel(Long idJob, Long startTime, Long endTime,
			Integer status, String description) {
		this.idJob = idJob;
		this.startTime = startTime;
		this.endTime = endTime;
		this.status = status;
		this.description = description;
	}

	/**
	 * 编号
	 */
	private Long idJobLog;
	/**
	 * job编号
	 */
	private Long idJob;
	/**
	 * job开始执行时间
	 */
	private Long startTime;
	/**
	 * 执行结束时间
	 */
	private Long endTime;
	/**
	 * 状态，0：失败，1：成功,JobLogStatusEnum
	 */
	private Integer status;
	/**
	 * 执行
	 */
	private String description;

	public Long getIdJobLog() {
		return idJobLog;
	}

	public void setIdJobLog(Long idJobLog) {
		this.idJobLog = idJobLog;
	}

	public Long getIdJob() {
		return idJob;
	}

	public void setIdJob(Long idJob) {
		this.idJob = idJob;
	}

	public Long getStartTime() {
		return startTime;
	}

	public void setStartTime(Long startTime) {
		this.startTime = startTime;
	}

	public Long getEndTime() {
		return endTime;
	}

	public void setEndTime(Long endTime) {
		this.endTime = endTime;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
